package com.woniuxy.project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Project {
    /**贷款项目编号*/
    private Integer pid;
    /**贷款项目序列号*/
    private String pno;
    /**借债人id*/
    private Integer uid;
    /**项目名称*/
    private String pname;
    /**项目类型*/
    private String type;
    /**借款金额*/
    private BigDecimal money;
    /**年利率*/
    private BigDecimal rate;
    /**借款期限*/
    private Integer deadline;
    /**添加时间*/
    private LocalDateTime addtime;
    /**还款方式*/
    private String repayment;
    /**最低投资金额*/
    private BigDecimal minmoney;
    /**开标时间*/
    private LocalDateTime starttime;
    /**募集时间*/
    private Integer collecttime;
    /**担保人id*/
    private Integer gid;
    /**放款管理费率*/
    private BigDecimal loanrate;
    /**奖励比率*/
    private BigDecimal bonusrate;
    /**已募集资金*/
    private BigDecimal cmoney;
    /**状态*/
    private String status;
}
